
env = Environment()
env[ 'CCFLAGS' ] = '-g -O2 -fPIC  -D_THREAD_SAFE -pthread  -Wall -Wno-sign-compare'
env[ 'CPPPATH' ] = ['../include','../../include','../../../include','/home/s/include', ]
env[ 'CPPFLAGS' ] = []
env[ 'LIBPATH' ] = ['../lib','../../lib','../../../lib','/home/s/lib/static', ]
env[ 'LIBS' ] = ['bocat_logging','bocat_common','boost_program_options-mt','boost_filesystem-mt', 'boost_system-mt', 'boost_thread-mt','z','pthread',]


sink_target = 'sink.so'
sink_sources = [ 'sink-handler.cpp', ]
env.SharedLibrary( sink_target, sink_sources, LINKFLAGS='-Wl,-E' )



